package com.yiren.dbaa.currency.model;

import android.widget.Spinner;

/**
 * Describe Spinner编辑框改变事件值的保存实体类
 *
 * @author WRX
 * @date 2022/11/11
 */
public class SpinnerCommonModel {

    /*** 控件 */
    private Spinner sp;
    /*** 初始值 */
    private int initValue;
    /*** 保存的key */
    private String key;
    /*** 参数类型 */
    private int type;

    public SpinnerCommonModel(Spinner sp, int initValue, String key, int type) {
        this.sp = sp;
        this.initValue = initValue;
        this.key = key;
        this.type = type;
    }

    public Spinner getSp() {
        return sp;
    }

    public void setSp(Spinner sp) {
        this.sp = sp;
    }

    public int getInitValue() {
        return initValue;
    }

    public void setInitValue(int initValue) {
        this.initValue = initValue;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
